CV

sealed class CV : OnnxModelType<ImageRecognitionModel>

Image recognition models and preprocessing.

Types

EfficientNet4Lite
Link copied to clipboard
object EfficientNet4Lite : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

EfficientNetB0
Link copied to clipboard
class EfficientNetB0(noTop: Boolean) : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

EfficientNetB1
Link copied to clipboard
class EfficientNetB1(noTop: Boolean) : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

EfficientNetB2
Link copied to clipboard
class EfficientNetB2(noTop: Boolean) : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

EfficientNetB3
Link copied to clipboard
class EfficientNetB3(noTop: Boolean) : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

EfficientNetB4
Link copied to clipboard
class EfficientNetB4(noTop: Boolean) : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

EfficientNetB5
Link copied to clipboard
class EfficientNetB5(noTop: Boolean) : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

EfficientNetB6
Link copied to clipboard
class EfficientNetB6(noTop: Boolean) : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

EfficientNetB7
Link copied to clipboard
class EfficientNetB7(noTop: Boolean) : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

Lenet
Link copied to clipboard
class Lenet : ONNXModels.CV

This model is a neural network for digit classification that take grey-scale images of digits as input and classify the major object in the image into a set of 10 different classes.

ResNet101
Link copied to clipboard
object ResNet101 : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet101v2
Link copied to clipboard
object ResNet101v2 : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet152
Link copied to clipboard
object ResNet152 : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet152v2
Link copied to clipboard
object ResNet152v2 : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet18
Link copied to clipboard
object ResNet18 : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet18v2
Link copied to clipboard
object ResNet18v2 : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet34
Link copied to clipboard
object ResNet34 : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet34v2
Link copied to clipboard
object ResNet34v2 : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet50
Link copied to clipboard
object ResNet50 : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet50custom
Link copied to clipboard
object ResNet50custom : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet50noTopCustom
Link copied to clipboard
object ResNet50noTopCustom : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet50v2
Link copied to clipboard
object ResNet50v2 : ONNXModels.CV

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

Functions

model
Link copied to clipboard
open fun model(modelHub: ModelHub): OnnxInferenceModel
pretrainedModel
Link copied to clipboard
open override fun pretrainedModel(modelHub: ModelHub): ImageRecognitionModel

Properties

inputShape
Link copied to clipboard
open val inputShape: LongArray?

Shape of the input accepted by this model, without batch size.

modelRelativePath
Link copied to clipboard
open override val modelRelativePath: String
preprocessor
Link copied to clipboard
open val preprocessor: Operation<Pair<FloatArray, TensorShape>, Pair<FloatArray, TensorShape>>

Inheritors

ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard
ONNXModels.CV
Link copied to clipboard